#ifndef prot_icmp_h
#define prot_icmp_h

#include <stdbool.h>
#include <icmp.h>
#include "ll.h"

bool icmp_rx(struct llbuf *ll);
bool icmp_tx(struct llbuf *ll);

extern int debug_icmp;

#define ICMP_LOG(fmt, ...)    \
  do {                        \
    if (debug_icmp)           \
      print_log("[%s-%d]"fmt, __func__, __LINE__, ##__VA_ARGS__);\
  } while(0)
  
#endif
